<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
      py:extends="'master.kid'">
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
    <title>增加项目 - TGSVN</title>
  </head>
  <body>
    <form method="post" action="addproject">
      <table>
	<tr>
          <th colspan="2" rowspan="1">增加项目</th>
	</tr>
	<tr>
          <td>项目代码</td>
          <td><input name="code" value="${code}"/></td>
	</tr>
	<tr>
	  <td>项目名称</td>
	  <td><input name="name" value="${name}"/></td>
	</tr>
	<tr>
	  <td>项目介绍</td>
	  <td><input name="note" value="${note}"/></td>
	</tr>
	<tr>
	  <td>用户权限</td>
	  <td>
	    <select name="auth">
	      <option value="write" selected="${auth == 'write' and 'selected' or None}">读写</option>
	      <option value="read" selected="${auth == 'read' and 'selected' or None}">只读</option>
	      <option value="none" selected="${auth == 'none' and 'selected' or None}">禁用</option>
	    </select>
	  </td>
	</tr>
	<tr>
	  <td>来宾权限</td>
	  <td>
	    <select name="anon">
	      <option value="write" selected="${anon == 'write' and 'selected' or None}" >读写</option>
	      <option value="read" selected="${anon == 'read' and 'selected' or None}">只读</option>
	      <option value="none" selected="${anon == 'none' and 'selected' or None}">禁用</option>
	    </select>
	  </td>
	</tr>
	<tr colspan="2" rowspan="1">
          <td><input value="增加" type="submit"/></td>
	</tr>
      </table>
    </form>
  </body>
</html>
